export interface User {
  id: number
  username: string
  email: string
  phone?: string
  avatar?: string
  user_type: 'customer' | 'merchant' | 'admin'
  gender: 'M' | 'F' | 'O' | 'S'
  birth_date?: string
  is_verified: boolean
  is_vip: boolean
  vip_expire_date?: string
  balance: string
  points: number
  created_at: string
}

export interface Address {
  id: number
  name: string
  phone: string
  province: string
  city: string
  district: string
  detail: string
  postal_code?: string
  is_default: boolean
}

export interface LoginForm {
  username: string
  password: string
}

export interface RegisterForm {
  username: string
  email: string
  password: string
  confirmPassword: string
  phone?: string
}
